#include <iostream>
#include <vector>
#include <string>
using namespace std;

int main()
{
	vector<int> intVector;

	for (int i = 0; i < 10; i++)
		intVector.push_back(i + 1);

	cout << "Numbers in the vector: ";
	for (int i = 0; i < intVector.size(); i++)
		cout << intVector[i] << " ";

	vector<string> stringVector;

	stringVector.push_back("Dallas");
	stringVector.push_back("Houston");
	stringVector.push_back("Austin");
	stringVector.push_back("Norman");

	cout << "\nStrings in the string vector: ";
	for (unsigned i = 0; i < stringVector.size(); i++)
		cout << stringVector[i] << " ";
	stringVector.pop_back();

	vector<string> v2;
	v2.swap(stringVector);
	v2[0] = "Atlanta";

	cout << "\nStrings in the vector v2: ";
	for (int i = 0; i < v2.size(); i++)
		cout << v2.at(i) << " ";

	cout << endl;
	system("pause");
	return 0;
}		